namespace ESRI.ArcGIS.Client.Tasks.Async
{
    public partial class DistanceTaskResult
    {
        /// <summary>
        /// Gets the distance returned by the geometry service.
        /// </summary>
        public double Distance { get; private set; }

        internal DistanceTaskResult(DistanceEventArgs eventArgs)
        {
            Distance = eventArgs.Distance;
        }
    }
}